package com.wyp168.leetcode.entity;

/**
 * @ClassName print
 * @Title TODO
 * @Description TODO
 * @Author wyp168
 * @Date 2022/10/10 20:15
 */
public class Print {
    public static void main(String[] args) {
        for (int i = 1; i < 999; i++) {
            if (i % 10 == 5) {
                continue;
            }
            if (i / 10 % 10 == 5) {
                i += 10;
                continue;
            }
            if (i / 100 % 10 == 5) {
                i += 100;
                continue;
            }
            System.out.println(i);
        }
    }

}
